/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package WebServiceUserModel;

/**
 *
 * @author micheal
 */
public class User {
    
    private static User entity=new User();
    private String ID;
    private String Password;
    private String Name;
    private String Email;
    private String Question;
    private String Answer;
    private String Address;
    private String Detail;   
    
    public User(){}
    
    public static User getInstance(){    
        return entity;
    }static
    
    public void SetID(String ID){
        entity.ID=ID;    
    }
    
    public void SetPassword(String Password){
        entity.Password=Password;    
    }
    
    public void SetName(String Name){
        entity.Name=Name;    
    }
    
    public void SetEmail(String Email){
        entity.Email=Email;    
    }
    
    public void SetQualifiedQuestion(String Question){
        entity.Question=Question;    
    }
    
    public void SetQualifiedAnswer(String Answer){
        entity.Answer=Answer;    
    }
    
    public void SetAddress(String Address){
        entity.Address=Address;    
    }
    
    public void SetDetail(String Detail){
        entity.Detail=Detail;    
    }
    
    public String getID(){    
        return entity.ID;
    }
    
    public String getPassword(){
        return entity.Password;
    }
    
    public String getName(){
        return entity.Name;
    }
    
    public String getEmail(){    
        return entity.Email;
    }
    
    public String getQualifiedQuestion(){    
        return entity.Question;
    }
    
    public String getQualifiedAnswer(){    
        return entity.Answer;
    }
    
    public String getAddress(){    
        return entity.Address;
    }
    
    public String getDetail(){    
        return entity.Detail;
    }

}
